//
//  HMSportTrackingLine.h
//  XRSport
//
//  Created by acer on 16/10/23.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MAMapKit/MAMapKit.h>
#import "HMSportPolyline.h"
@interface HMSportTrackingLine : NSObject
//起始点
@property(nonatomic, strong, readonly) CLLocation *startLocation;
//结束点
@property(nonatomic, strong, readonly) CLLocation *endLocation;
//描述起始点喝结束点之间的折线模型
@property (nonatomic, weak, readonly) HMSportPolyline *polyline;
//运动速度 单位：km／h
@property (nonatomic, assign) double speed;
//运动的时间，单位秒
@property(nonatomic, readonly) NSTimeInterval time;
//运动的距离，单位公里
@property(nonatomic, readonly) double distance;
//使用起始点和结束点实力化折线模型
- (instancetype)initWithStartP:(CLLocation *)startP endP:(CLLocation *)endP;
@end
